#include "globaldef.h"
QString currentUsername = QString("");
QString currentPassword = QString("");
QMap<LogType,QString> LogTypeDescription;
QTranslator * translator;
QString gLanguage = QString("CN");
double gVoltRatio = 1.0;
double gSpeedRatio = 1.0;
int gTableWidth = 754;
int windowWidth = 1024;
QRegExp gUsernameRegExp;
QRegExp gPwRegExp;
QRegExp gParamNameRegExp;
QRegExp gParamCodeRegExp;
QRegExp gSerialCodeRegExp;
QValidator * gUsernameValidator = nullptr;
QValidator * gPwValidator = nullptr;
QValidator * gParamNameValidator = nullptr;
QValidator * gParamCodeValidator = nullptr;
QValidator * gSerialCodeValidator = nullptr;
